package com.zh.mediacommon.util;

import com.alibaba.fastjson.JSON;
import com.zh.mediapojo.entity.Message;
import java.util.List;
public class MessageHandleUtil {
    public static String getMessage(Message message) {
            return JSON.toJSONString(message);
    }
    public static List getMessageList(List<String> messageList){
        List<Message> messageList1 = JSON.parseArray(messageList.toString(), Message.class);
        return messageList1;
    }
}
